package com.personal.system.service.sys;

import com.personal.model.system.SysDept;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 组织机构 服务类
 * </p>
 *
 * @author HD
 * @since 2022-10-29
 */
public interface SysDeptService extends IService<SysDept> {

    List<SysDept> findNodes();

    void removeDeptById(String id);

    List<Long> selectDeptListByRoleId(Long roleId);

    List<SysDept> selectDeptTreeList(SysDept sysDept);

}
